module.exports = {
  port: process.env.PORT || 3000,
  db: {
    host: "localhost",
    port: 3306,
    user: "admin",
    password: "123456",
    database: "ai_cube",
    waitForConnections: true,
    connectionLimit: 10,
    queueLimit: 0,
  },
  jwt: {
    secret: "ai-cube",
    expiresIn: "168h",
  },
  chat: {
    doubao: {
      apiKey: "b8ea98ad-8cb0-4699-ad03-d120c0fa5655",
    },
    deepseek: {
      apiKey: "934a1e35-d9ed-4f56-8fab-c34d97c84825",
    }
  },
  // 将 qianfan 配置移到顶层
  qianfan: {
    apiKey: "ALTAKDIiLnxLXzCnOmacH0Gpsr",
    secretKey: "0be99829dd4d4da9bd0c5e6208d7b112",
    endpoint: "https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/text2image/sd_xl"
  }
};
